/**
 * 
 */
package cn.com.xf.service;

import java.util.List;

import cn.com.xf.domain.TblOaFaq;

/**
 * @author Administrator
 * 
 */
public interface FaqService {
	List<TblOaFaq> select(int begin, int pageSize, String orderByField, String orderByMode, String faqClass);
	List<TblOaFaq> select(int begin, int pageSize, String orderByField, String orderByMode, String faqClass,String faqQuestion,String publicMan,String createDateBegin,String createDateEnd);
	int selectCount(String field, String value, String faqClass);

	int insert(TblOaFaq coreFaq);

	TblOaFaq selectById(Integer faqId);

	int update(TblOaFaq coreFaq);
	
	int selectFaqListCount(String faqClass, String faqQuestion, String publicMan, String createDateBegin, String createDateEnd);
	
	int deleteFaqById(Integer id);
}
